BOM
==================================================

1off Bar Type 3.71 inch 240x960 IPS TFT LCD Display SPI+RGB Interface
     https://www.buydisplay.com/bar-type-3-71-inch-240x960-ips-tft-lcd-display-spi-rgb-interface
     ST7701S controller
     OPTIONS:
     Touch Panel = No
     Controller Board = LT7680 Controller board with FFC & ZIF connector
     ZIF Connector for Display = Don't need this but it must be selected!
     IMPORTANT:
     On the LT7680 Pcb, you MUST open J1 and close J2 & J3

1off 20-way 1mm pitch flat flex A-type same side contacts (optional: this is a shorter version that comes with the display from buydisplay.com)
     1.0mm-20p-6cm

1off Pcb - See gerbers

1off Blue Pill STM32 board - STM32F103C8T6
     https://amzn.eu/d/07OwLB4W

2off Arduino female headers (for mounting the Blue Pill board)

1off 5-way male SILL header (for mounting the LT7680A-R pcb)

1off 1-way male SILL header (for the NRST signal used when programming the Blue Pill)

1off 470nF or 1uf polyester capacitor (size not critical, across 5V supply)

1off 10uf/16v or 22uF/16v electrolytic capacitor (size not critical, across 5V supply)

1off 5V, 1A 3-terminal switcher regulator (5.5V to 32V) - Test before use, I had one faulty!
     https://amzn.eu/d/00rvKbdj
     https://ebay.us/m/uAPrMj


INSTRUCTIONS
==================================================

1. Program the Blue Pill using the 34401A_VS_Display.hex file supplied. You can do this after it's fitted to the Pcb.
   Note: There is an alternative hex file which prints the BluePill main loop rate to the TFT on boot - 34401A_VS_Display_with_test.hex
   Good BluePill = 43596
   Bad BluePill = 849

2. Follow my video for assembly of Pcb and fitting, see also the Wiring IO below.

3. Wiring as follows:

W601 is the connector pads on the back of the HP display board.
We are using pins 1,2,3,4 & 6 only, and mapped to the new Pcb.

Pcb	34401A W601	Name
=============================================
0V	1		AGND
DO	2		FPDO
V+	3		+18V input
SCK	4		IGFPSCK
DI	6		IGFPDI
INT	10		IGFPINT (currently not used - do not connect)


Not used
=============================================
-	5		FIL1
-	7		-18V Input
-	8		IGFPRES
-	9		AGND
-	11		FIL2
-	12		+2.5V (used for level conversion)


IanJ
13/05/26